﻿using UnityEngine;
using System.Collections;

public class GameManager : Manager {

	void Start () {
        StartCoroutine("Go");
	}

	IEnumerator Go () {
        float limitTime = 30f;

        while (limitTime > 0)
        {
            MoleModel.Instance.RenewMole();
            limitTime -= 0.5f;
            yield return new WaitForSeconds(0.5f);
        }
	}
}
